import React from 'react'
import { Space, Table, Tag } from 'antd';
import { Button, Checkbox, Form, Input } from 'antd';
function Serach(props) {
    const {onFinish,onFinishFailed,cz,form}=props
  return (
    <div>
      <Form
      form={form}
       layout='inline'
    name="basic"
    labelCol={{ span: 8 }}
    wrapperCol={{ span: 16 }}
    style={{ maxWidth: 1200 }}
    initialValues={{ remember: true }}
    onFinish={onFinish}
    onFinishFailed={onFinishFailed}
    autoComplete="off"
  >
    <Form.Item
      label=""
      name='keyword'
     
    >
      <Input />
    </Form.Item>

    <Form.Item
      label=""
      name="password"
    
    >
      <Input />
    </Form.Item>



    <Form.Item label={null}>
      <Button type="primary" htmlType="submit">
        搜索
      </Button>
    </Form.Item>
    <Form.Item label={null}>
      <Button type="primary" htmlType="submit" onClick={cz}>
        重置
      </Button>
    </Form.Item>
  </Form>
    </div>
  )
}

export default Serach
